<%@page contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <title>登入</title>
  </head>
  
  <body>
  <center>
  <form action="user!doLogin.action" method="post" name="userform">
    <table border="0">
      <tr>
      	<td>用户名：</td>
      	<td><input type="text" name="user.username"/></td>
      </tr>
      <tr>
      	<td>密   码：</td>
        <td><input type="text" name="user.userpwd"/></td>
      </tr>
      <tr>
      	<td>
      		<span class="Login_Left_Span">
	    		<input type="radio" name="user.roleinfo.roleid" value="2" checked="checked">学生
	        </span>
      	</td>
      	 <td align="center">
        	<span class="Login_Left_Span">
		    	<input type="radio" name="user.roleinfo.roleid" value="1">管理员
	        </span>
        </td>
      </tr>
	 </table>
     <input type="button" value="登入" onclick="dologin()"/>
    </form>
    </center>
    <script type="text/javascript">
    	function dologin(){
			document.userform.submit();
		}
    </script>
   </body>
</html>
